-
Home
-
WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin
-
14.11
-
Code
-
Classes
- Browser
| Total Complexity |
74 |
| Dependencies |
7 |
| Dependents |
1 |
| Total lines |
1,233 |
| Lines of code |
253 |
| Logical lines of code |
139 |
| Comment lines |
130 |
| Methods |
15 |
| Properties |
7 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| parse() |
D |
31 |
31 |
111 |
| parseBrowserFromClientHints() |
A |
49 |
12 |
29 |
| buildEngine() |
S |
52 |
7 |
23 |
| parseBrowserFromUserAgent() |
S |
48 |
6 |
36 |
| getBrowserFamily() |
S |
62 |
4 |
11 |
| getBrowserShortName() |
S |
66 |
3 |
8 |
| isMobileOnlyBrowser() |
S |
73 |
3 |
4 |
| __construct() |
S |
75 |
1 |
4 |
| setClientHints() |
S |
77 |
1 |
4 |
| setUserAgent() |
S |
77 |
1 |
4 |
| setCache() |
S |
77 |
1 |
4 |
| getAvailableBrowsers() |
S |
80 |
1 |
3 |
| getAvailableBrowserFamilies() |
S |
80 |
1 |
3 |
| setYamlParser() |
S |
76 |
1 |
4 |
| buildEngineVersion() |
S |
71 |
1 |
5 |